package com.jindy.module.statement.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jindy.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 结算机器费用对象 t_statement_expenses
 *
 * @author zhaoxi
 * @date 2023-01-05
 */
@Data
public class StatementExpenses {

    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 对账单id */
    @Excel(name = "对账单id")
    private Long accountStatementId;

    /** 结算单id */
    @Excel(name = "结算单id")
    private Long statementId;

    /** 类型:1对账单 2：结算单 */
    @Excel(name = "类型:1对账单 2：结算单")
    private String orderType;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String productNo;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 日租金 */
    @Excel(name = "日租金")
    private BigDecimal dailyRent;

    /** 开始使用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始使用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 使用天数 */
    @Excel(name = "使用天数")
    private Long days;

    /** 总租金 */
    @Excel(name = "总租金")
    private BigDecimal grossRent;

}
